﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace AMS.UI.Controls
{
    /// <summary>
    /// 当添加gridview的一行后
    /// </summary>
    public class GridViewRowAddEventArgs : DataGridViewRowEventArgs
    {
        public GridViewRowAddEventArgs(DataGridViewRow row, object bindingData)
            :base(row)
        {
            BindingData = bindingData;
        }

        /// <summary>
        /// 行号
        /// </summary>
        public DataGridViewRow Row { get; internal set; }
        /// <summary>
        /// 当前的绑定的数据
        /// </summary>
        public object BindingData { get; internal set; }
    }
}
